Skip to content

fix: honor configured ignore field, skip toml by default, deduplicate headers - #19

Merged
balqaasem merged 4 commits into
mainfrom
ignore
Aug 15, 2026
Merged

balqaasem merged 4 commits into
mainfrom
ignore

Conversation

@balqaasem

Copy link
Copy Markdown
Contributor

The walker now honors the configured \ignore\ field (renamed from \skip; the legacy \skip\ key still works as an alias). TOML files are skipped by default, while \Cargo.toml\ is still processed for its \license\ field. Applying headers now detects stale license headers anywhere in a file and replaces them instead of stacking a new header, so headers are never duplicated.

Closes #18

balqaasem and others added 4 commits August 15, 2026 20:08
… headers

The walker now honors the configured \ignore\ field (renamed from \skip\; the legacy \skip\ key still works as an alias). TOML files are skipped by default, while \Cargo.toml\ is still processed for its \license\ field. Applying headers now detects stale license headers anywhere in a file and replaces them instead of stacking a new header, so headers are never duplicated.

Closes #18
Bump version from 0.2.1 to 0.2.2. Run the updated forehead on the repo itself (all headers already correct). Strip old license headers from .toml files (changelogger.toml, mise.toml, rust-toolchain.toml, rustfmt.toml) that were applied by the old version before toml files were skipped by default.
@balqaasem
balqaasem merged commit e128aae into main Aug 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: current walker ignores the configured skip field - add ignore

1 participant